package com.itheima.controller;

public class Test {
    public static void main(String[] args){
        String str = "hello";
        byte age = 10;
        short money = 300;
        int i = 6;
        System.out.println(Child.age);
//        System.out.println(Child.str1);
    }
}
class Parent{
    public static String str = "itcast";
    static{
        System.out.println("itcast static");
    }
}
class Child extends Parent{
    public static  String str1 = "heima";
    public static  byte age = 1;
    public static final   String str2 = "heima";
    static{
        System.out.println("heima static");
    }
}
